<#import "/common/common.ftl" as common/>
<#import "/spring.ftl" as spring/>

<#assign jses=[]/>
<#assign csses=[]/>
<#assign cssbs=[]/>
<#macro page title>
<!DOCTYPE html>
<html>
  <head>
    <#list cssbs as css>
		<link rel="stylesheet" type="text/css" href="<@common.urlRandom '${css}' />">
	</#list>
    <@common.importBaseCSS/>
    <#list csses as css>
		<link rel="stylesheet" type="text/css" href="<@common.urlRandom '${css}' />">
	</#list>
	<style>
	[v-cloak] {
	    display: none;
	}
	</style>
	    <script>
		top._CTX  = "<@spring.url '' />";
		</script>
  </head>
  <body>
    <div id="app" v-cloak>
      <#nested/>
    </div>
    <@common.importBaseJs/>
  	<#list jses as js>
	<script type="text/javascript" src="<@common.urlRandom '${js}' />"></script> 
	</#list>
  </body>
</html>
</#macro>